package com.street.mapper;

import com.street.entity.Employee;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface EmployeeMapper {
    @Select("select id, name, username, password, shop_id, phone, status, create_time from employee where username=#{username}")
    Employee getByUsername(String username);
}
